#!/usr/bin/env bash

#!/usr/bin/env bash
# shell 目录
basepath=$(cd `dirname $0`; pwd)
#
cmdpath=$(cd .; pwd)

docker run -it --rm  --cpus=1 -m 512M --memory-swap=-1 -v $cmdpath:$cmdpath -w $cmdpath wolferhua/php:7.2-fpm composer "$@"

#sudo ln -s  ~/workspace/dockers/wuhua/bash/composer.sh /usr/bin/composer && sudo chmod +x  /usr/bin/composer
